Fix misc spelling in MariaDB Server repository
authorOtto Kekalainen <otto@debian.org>
Sun, 10 Mar 2024 16:56:13 +0000 (16:56 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 5 Mar 2026 22:49:06 +0000 (22:49 +0000)
This is a combined patch of various spelling fixes.

* Fix misc typos in MariaDB Server

* Fix spelling of 'allows one to'

  Fix the following Lintian nags introduced in commit
  c8d040938a7ebe10e62506a726702c5990ef4dda:

  I: mariadb-backup: spelling-error-in-binary "allows to" "allows one to" [usr/bin/mariadb-backup]
  I: mariadb-server-core: spelling-error-in-binary "allows to" "allows one to" [usr/sbin/mariadbd]
  I: mariadb-test: spelling-error-in-binary "allows to" "allows one to" [usr/bin/mariadb-client-test-embedded]
  I: mariadb-test: spelling-error-in-binary "allows to" "allows one to" [usr/bin/mariadb-test-embedded]
  I: mariadb-test: spelling-error-in-binary "allows to" "allows one to" [usr/bin/test-connect-t]

* Fix typo: Enrypt->Encrypt

Merged in https://github.com/MariaDB/server/commit/5879c85f505d3a11d4b8f479f2437416d8a1d724
and thus included in MariaDB 12.3 onward.

Forwarded: https://github.com/MariaDB/server/pull/4458

Gbp-Pq: Name Fix-misc-spelling-in-MariaDB-Server-repository.patch

12 files changed:
extra/mariabackup/innobackupex.cc
extra/mariabackup/xtrabackup.cc
mysql-test/main/mysqld--help.result
mysql-test/suite/sys_vars/r/sysvars_innodb.result
mysql-test/suite/sys_vars/r/sysvars_server_embedded.result
mysql-test/suite/sys_vars/r/sysvars_server_notembedded.result
sql/opt_subselect.cc
sql/sql_select.cc
sql/sys_vars.cc
storage/connect/odbconn.cpp
storage/innobase/handler/ha_innodb.cc
support-files/mysql.server.sh

index 22f4dc387dd67166caa7282915c0aac59bd93ee1..1c0bc11b45f215dd8714db1dd0f6f9b14f3928aa 100644 (file)
@@ -188,7 +188,7 @@ enum innobackupex_options
        OPT_DATABASES,
        OPT_DECOMPRESS,
 
-       /* options wich are passed directly to xtrabackup */
+       /* options which are passed directly to xtrabackup */
        OPT_CLOSE_FILES,
        OPT_COMPACT,
        OPT_COMPRESS,
@@ -447,7 +447,7 @@ static struct my_option ibx_long_options[] =
        {"startup-wait-timeout", OPT_LOCK_WAIT_TIMEOUT,
          "This option specifies time in seconds that mariadb-backup should wait for "
          "BACKUP STAGE START to complete. BACKUP STAGE START has to wait until all "
-         "currently running queries using explicite LOCK TABLES has ended. "
+         "currently running queries using explicit LOCK TABLES has ended. "
          "If there are still such queries when the timeout expires, mariadb-backup "
          "terminates with an error. Default is 0, in which case mariadb-backup waits "
          "indefinitely for BACKUP STAGE START to finish",
index effbac020861acc2d40e7b11cd95bfb30ff1ceab..377082ac528e2be30aca91a86b6c73b8cf0ac701 100644 (file)
@@ -220,7 +220,7 @@ uint xtrabackup_compress = FALSE;
 uint xtrabackup_compress_threads;
 ulonglong xtrabackup_compress_chunk_size = 0;
 
-/* sleep interval beetween log copy iterations in log copying thread
+/* sleep interval between log copy iterations in log copying thread
 in milliseconds (default is 1 second) */
 ulint xtrabackup_log_copy_interval = 1000;
 static ulong max_buf_pool_modified_pct;
@@ -1808,7 +1808,7 @@ struct my_option xb_client_options[]= {
     {"startup-wait-timeout", OPT_LOCK_WAIT_TIMEOUT,
      "This option specifies time in seconds that mariadb-backup should wait for "
      "BACKUP STAGE START to complete. BACKUP STAGE START has to wait until all "
-     "currently running queries using explicite LOCK TABLES has ended. "
+     "currently running queries using explicit LOCK TABLES has ended. "
      "If there are still such queries when the timeout expires, mariadb-backup "
      "terminates with an error. Default is 0, in which case mariadb-backup waits "
      "indefinitely for BACKUP STAGE START to finish",
@@ -5852,7 +5852,7 @@ void CorruptedPages::backup_fix_ddl(ds_ctxt *ds_data, ds_ctxt *ds_meta)
        }
 
        /* Mariabackup doesn't detect any FILE_OP for the deferred
-       tablespace. There is a possiblity that page0 could've
+       tablespace. There is a possibility that page0 could've
        been corrupted persistently in the disk */
        for (auto space_name: defer_space_names) {
                if (!check_if_skip_table(space_name.c_str())) {
index 44a92c2fc4cc6f8a4e377fed030906ffbad88089..4422900823f369729b909c34a8feb3cd523b14c0 100644 (file)
@@ -826,13 +826,14 @@ The following specify which files/extra groups are read (specified before remain
  storage as part of an index scan
  --optimizer-join-limit-pref-ratio=# 
  For queries with JOIN and ORDER BY LIMIT : make the
- optimizer consider a join order that allows to short-cut
- execution after producing #LIMIT matches if that promises
- N times speedup. (A conservative setting here would be is
- a high value, like 100 so the short-cutting plan is used
- if it promises a speedup of 100x or more). Short-cutting
- plans are inherently risky so the default is 0 which
- means do not consider this optimization
+ optimizer consider a join order that allows one to
+ short-cut execution after producing #LIMIT matches if
+ that promises N times speedup. (A conservative setting
+ here would be is a high value, like 100 so the
+ short-cutting plan is used if it promises a speedup of
+ 100x or more). Short-cutting plans are inherently risky
+ so the default is 0 which means do not consider this
+ optimization
  --optimizer-key-compare-cost=# 
  Cost of checking a key against the end key condition
  --optimizer-key-copy-cost=# 
index b9f1e8b68f60ca44ac828327baa4ebc25e7a9c6c..bf590a54598f474b3bafdc056f36808c5c00dd52 100644 (file)
@@ -565,7 +565,7 @@ SESSION_VALUE       NULL
 DEFAULT_VALUE  OFF
 VARIABLE_SCOPE GLOBAL
 VARIABLE_TYPE  BOOLEAN
-VARIABLE_COMMENT       Encrypt the temporary table data
+VARIABLE_COMMENT       Encrypt the temporary table data.
 NUMERIC_MIN_VALUE      NULL
 NUMERIC_MAX_VALUE      NULL
 NUMERIC_BLOCK_SIZE     NULL
index f127a28938a3a4b23b6bbdc18579449e1ac4ffcd..df7647da837ab19b343f65093fae9fca020a1e08 100644 (file)
@@ -2505,7 +2505,7 @@ COMMAND_LINE_ARGUMENT     REQUIRED
 VARIABLE_NAME  OPTIMIZER_JOIN_LIMIT_PREF_RATIO
 VARIABLE_SCOPE SESSION
 VARIABLE_TYPE  BIGINT UNSIGNED
-VARIABLE_COMMENT       For queries with JOIN and ORDER BY LIMIT : make the optimizer consider a join order that allows to short-cut execution after producing #LIMIT matches if that promises N times speedup. (A conservative setting here would be is a high value, like 100 so the short-cutting plan is used if it promises a speedup of 100x or more). Short-cutting plans are inherently risky so the default is 0 which means do not consider this optimization
+VARIABLE_COMMENT       For queries with JOIN and ORDER BY LIMIT : make the optimizer consider a join order that allows one to short-cut execution after producing #LIMIT matches if that promises N times speedup. (A conservative setting here would be is a high value, like 100 so the short-cutting plan is used if it promises a speedup of 100x or more). Short-cutting plans are inherently risky so the default is 0 which means do not consider this optimization
 NUMERIC_MIN_VALUE      0
 NUMERIC_MAX_VALUE      4294967295
 NUMERIC_BLOCK_SIZE     1
index 9ead8d47a22efe40263e68dffb829e9496c83023..3b79975081bd1d8b8f4aee07cc1b854fc5b9ee98 100644 (file)
@@ -2715,7 +2715,7 @@ COMMAND_LINE_ARGUMENT     REQUIRED
 VARIABLE_NAME  OPTIMIZER_JOIN_LIMIT_PREF_RATIO
 VARIABLE_SCOPE SESSION
 VARIABLE_TYPE  BIGINT UNSIGNED
-VARIABLE_COMMENT       For queries with JOIN and ORDER BY LIMIT : make the optimizer consider a join order that allows to short-cut execution after producing #LIMIT matches if that promises N times speedup. (A conservative setting here would be is a high value, like 100 so the short-cutting plan is used if it promises a speedup of 100x or more). Short-cutting plans are inherently risky so the default is 0 which means do not consider this optimization
+VARIABLE_COMMENT       For queries with JOIN and ORDER BY LIMIT : make the optimizer consider a join order that allows one to short-cut execution after producing #LIMIT matches if that promises N times speedup. (A conservative setting here would be is a high value, like 100 so the short-cutting plan is used if it promises a speedup of 100x or more). Short-cutting plans are inherently risky so the default is 0 which means do not consider this optimization
 NUMERIC_MIN_VALUE      0
 NUMERIC_MAX_VALUE      4294967295
 NUMERIC_BLOCK_SIZE     1
index 0bf1998fcd96d6c17bfa57424f7ab2107534e7f2..4ebb368077f8c5327c724ad749aa3e8a5b367621 100644 (file)
@@ -6894,7 +6894,7 @@ bool JOIN::choose_subquery_plan(table_map join_tables)
         add("rows", inner_record_count_1).
         add("materialization_cost", materialize_strategy_cost).
         add("in_exist_cost", in_exists_strategy_cost).
-        add("choosen", strategy);
+        add("chosen", strategy);
     }
 
     DBUG_PRINT("info",
@@ -6932,7 +6932,7 @@ bool JOIN::choose_subquery_plan(table_map join_tables)
     {
       Json_writer_object trace_wrapper(thd);
       Json_writer_object trace_subquery(thd, "subquery_plan_revert");
-      trace_subquery.add("choosen", "in_to_exists");
+      trace_subquery.add("chosen", "in_to_exists");
     }
   }
 
index fa73d52992fe9c2953d5c549cfd53df9bd00acc6..1e697a5aefad501eb660c23699244ec8ca668e87 100644 (file)
@@ -11831,7 +11831,7 @@ double recompute_join_cost_with_limit(const JOIN *join, bool skip_sorting,
 
 /*
   @brief
-    Finalize building the join order which allows to short-cut the join
+    Finalize building the join order which allows one to short-cut the join
     execution.
 
   @detail
@@ -15318,7 +15318,7 @@ void JOIN::drop_unused_derived_keys()
       }
       /*
         We dropped all keys except the chosen one and unique keys.
-        The choosen one is stored as the first key (number 0).
+        The chosen one is stored as the first key (number 0).
       */
       tab->ref.key= 0;
     }
index 3c2fee2716ff89876093bac9edb7e86705099b82..545821dacee0091887536b5e8866bfdd5a521944 100644 (file)
@@ -2973,7 +2973,7 @@ static Sys_var_ulong Sys_optimizer_selectivity_sampling_limit(
 static Sys_var_ulonglong Sys_optimizer_join_limit_pref_ratio(
        "optimizer_join_limit_pref_ratio",
        "For queries with JOIN and ORDER BY LIMIT : make the optimizer "
-       "consider a join order that allows to short-cut execution after "
+       "consider a join order that allows one to short-cut execution after "
        "producing #LIMIT matches if that promises N times speedup. "
        "(A conservative setting here would be is a high value, like 100 so "
        "the short-cutting plan is used if it promises a speedup of 100x or "
index 520b82d51c2ed5b5a936acfb246f00aad16a29db..a78257087ffe6a2892fa9ebfe07e44ed1cb5c253 100644 (file)
@@ -281,7 +281,7 @@ static CATPARM *AllocCatInfo(PGLOBAL g, CATINFO fid, PCSZ db,
                cap->Status = (UWORD *)PlugSubAlloc(g, NULL, m * sizeof(UWORD));
 
        } catch (int n) {
-               htrc("Exeption %d: %s\n", n, g->Message);
+               htrc("Exception %d: %s\n", n, g->Message);
                cap = NULL;
        } catch (const char *msg) {
                htrc(g->Message, msg);
index 21dbe9ce1910d41cc58cafa74d18d5aec65164e0..40b974a644a5027a8b010234ea420b59469f2a67 100644 (file)
@@ -19866,7 +19866,7 @@ static MYSQL_SYSVAR_BOOL(immediate_scrub_data_uncompressed,
 
 static MYSQL_SYSVAR_BOOL(encrypt_temporary_tables, innodb_encrypt_temporary_tables,
   PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_READONLY,
-  "Encrypt the temporary table data",
+  "Encrypt the temporary table data.",
   NULL, NULL, false);
 
 static MYSQL_SYSVAR_BOOL(truncate_temporary_tablespace_now,
index dd8cbd4850ef33c841dbe32c1bf0d96074f0bc90..cc4b86676fb4a4b229e54f4d836122defdbba7c1 100644 (file)
@@ -194,7 +194,7 @@ su_kill() {
 
 #
 # Read defaults file from 'basedir'.   If there is no defaults file there
-# check if it's in the old (depricated) place (datadir) and read it from there
+# check if it's in the old (deprecated) place (datadir) and read it from there
 #
 
 extra_args=""